

export function setToken(token) {
	uni.setStorageSync('token', 'Bearer ' + token)
}
export function setAccountName(name) {
	uni.setStorageSync('accountName', name)
}
export function setExpiration(data) {
	uni.setStorageSync('expiration', data)
}

export function getToken() {
	return uni.getStorageSync('token')
}

export function getAccountName() {
	return uni.getStorageSync('accountName')
}

export function getExpiration() {
	return uni.getStorageSync('expiration')
}